
<div align="right">Select Date:
    <select onchange="<?php echo selectAction('date')?>">
        <?php echo List_Date();?>
    </select>
</div>
<table width="100%"  cellpadding="4" cellspacing="1" id="tblsort">
    <tr class="headtb">
        <td width="3%" >#</td>
        <td width="10%" >Account</td>
        <td width="65%" >Info</td>
        <td width="8%" >IPAddress</td>
    </tr>
	<?php
	foreach($trackings as $i => $tracking)
	{
	?>
		<tr>
			<td align="center" valign="top"><?php echo $tracking["iTrackingId"]?></td>
			<td  align="center" valign="top"><?php echo Admin_info($tracking["iAccountId"])?></td>
			<td align="left"><?php echo $tracking["cAction"]?></td>
			<td  align="center"><?php echo $tracking["cIPAddress"]?></td>

		 </tr>
	<?php
	}
	?>
</table>
<?php  echo $show_page; ?>
<script>(new TableDnD).buildrows("tblsort");</script>